#pragma once

#include <set>

#include "CmdHandler3.h"
#include "Ent.h"
#include "UCS.h"

class Trim2DHandler :
	public CmdHandler3
{
	Q_OBJECT
public:
	Q_INVOKABLE Trim2DHandler();
	virtual void input(const QVariant& data, const QString& rawInput, CommandSource cs) override;
private:
	std::set<std::shared_ptr<Ent2DCurve>> m_TrimBorders;
	UCS* m_ucs = nullptr;
};
